Copy & Get Any File or Folder Path on Mac — Instantly
Pathly adds five powerful copy actions to Finder's right-click menu. No more Option-key gymnastics, opening Get Info, or typing paths by hand. Just right-click and copy.
Why is copying a file path on Mac so painful?
To copy a file path natively: hold Option, right-click the file, find "Copy as Pathname" buried in the menu. Miss the Option key? Start over. Need just the filename? Not possible. Need the git-relative path for a PR description? Open Terminal and figure it out.
macOS gives you one option — Option + right-click — and it only returns the full POSIX path. No filename, no folder, no file URL, no git path. Every other format requires you to leave Finder entirely.
The native method takes 4 steps every time: hold Option, right-click, find the menu item, click. Pathly takes 2: right-click, choose. Zura Guerra, Pathly's creator, copies paths more than four times per session using Pathly with Claude and Codex — the kind of workflow where that 2-step difference compounds across hundreds of interactions a week.
One right-click. Five formats. Zero friction.
Pathly is a macOS Finder Extension that adds five copy actions to your right-click menu — accessible instantly, without holding any modifier key, for any file or folder anywhere on your Mac.
Whether you need the full POSIX path, just the filename, the parent directory, a file:// URL for a browser or script, or the git-relative path for your current repository — Pathly has it as a single menu item.
It lives in Finder, works offline, collects zero data, and costs $4.99 once. No cloud, no subscription, no complexity.
Every path format a developer reaches for
All five are always one right-click away — no Terminal, no keyboard shortcuts, no Get Info window.
-
Copy Path
The full absolute path to the file or folder. Paste directly into Terminal, shell scripts, config files, or any app that accepts file paths.
/Users/alex/Projects/app/README.md -
Copy Filename
Just the filename with extension — no path prefix. Perfect for renaming references in code, documentation, or Slack messages.
README.md -
Copy Directory
The parent folder path, without the filename. Use it to
cdinto a directory, or set a working directory in a script./Users/alex/Projects/app -
Copy as URL
A
file://URL that browsers, Electron apps, and many macOS APIs accept natively. Open files programmatically without path encoding issues.file:///Users/alex/Projects/app/README.md -
Copy Git Path
Auto-detects the nearest
.gitfolder and returns the path relative to your repo root. Paste straight intogit add, PR descriptions, or code review comments.src/components/Button.tsx
Built for developers, designers, and power users
Stop fighting with paths
Right-click any file or folder and instantly copy the full path, filename, parent directory, or file:// URL — ready to paste straight into Terminal, iTerm2, Warp, or your editor. No Option-clicking, no Get Info.
Works with all Mac terminals and shell environments: bash, zsh, fish. Paths are copied in POSIX format, properly escaped, and ready to use without modification.
Keep it clean and focused
Enable or disable any of the five actions from the simple Pathly preferences window. Only show what you actually use — no clutter.
If you only need full path and git path, turn the other three off. Your Finder context menu stays clean and fast — exactly how you like it.
Local, external, and network folders
Pathly monitors your entire filesystem — home folder, external drives, and network shares. If it shows in Finder, Pathly handles it.
Copy paths from USB drives, SD cards, NAS volumes, SMB or AFP network shares — Pathly handles them all with the same one-right-click experience.
Git-ready in one click
Copy Git Path automatically finds the nearest .git folder and returns the relative path from your repo root — exactly what you paste into git add, commit messages, or PR descriptions.
No more manually trimming the absolute path. No more switching to Terminal to run git ls-files. Right-click the file, choose "Copy Git Path", paste. Done.
Works with any Git tool: command-line Git, GitHub Desktop, Tower, Sourcetree, Fork, and any editor with Git integration.
Why not just use the built-in Copy Pathname?
Native macOS gives you one path format behind an Option key. Pathly gives you five, all in the standard right-click menu.
| Feature | Native macOS | Pathly |
|---|---|---|
| Copy full pathPOSIX absolute path | ⚠ Option + right-click | ✓ Right-click |
| Copy filename onlyWithout path prefix | ✕ Not available | ✓ Right-click |
| Copy parent directoryFolder path without filename | ✕ Not available | ✓ Right-click |
| Copy as file:// URLFor browsers & Electron apps | ✕ Not available | ✓ Right-click |
| Copy git-relative pathRelative to repo root | ✕ Not available | ✓ Right-click |
| External drives & network shares | Yes | Yes |
| Customise visible actions | ✕ Not available | ✓ Per-action toggles |
| Modifier key required | ⚠ Yes — Option key | ✓ No modifier needed |
| Price | Free (built-in) | $4.99 one-time |
Up and running in under 60 seconds
Three steps from purchase to your first path copy.
Download Pathly
Purchase and download Pathly from the Mac App Store for a one-time $4.99. No account required beyond your Apple ID.
Enable the Finder Extension
Open System Settings → Privacy & Security → Extensions → Finder Extensions and toggle Pathly on.
Right-click and copy
Right-click any file or folder in Finder. Choose your format: Copy Path, Filename, Directory, URL, or Git Path. Done.
Learn more: guides & tutorials
In-depth articles on copying file paths, working with Git, and getting more out of macOS Finder.
How to Copy a File Path on Mac in 2026
Every method compared: native Option + right-click, Terminal commands, Automator, and Pathly. Find the fastest workflow for your needs.
Git Relative Path on Mac — The Fastest Way
Stop manually stripping absolute paths. Learn how to get git-relative paths from Finder, Terminal, and your editor in seconds.
Best Finder Keyboard Shortcuts & Right-Click Tips (2026)
The complete list of Finder shortcuts, context menu tricks, and hidden features that most Mac users don't know about.
100% Local. Zero telemetry.
Pathly runs entirely on your Mac — it never connects to the internet, never phones home, and never transmits a single filename or path. Your filesystem is completely private.
🔒No servers. No cloud sync. No analytics on what files you access.
✅No account required. No subscription. Owned forever for $4.99.
Frequently asked questions
Everything you need to know about copying file paths on Mac and how Pathly works.
How do I copy a file path on Mac?
The native macOS method: hold the Option key, then right-click a file in Finder and choose "Copy [filename] as Pathname". This gives you the full absolute path.
With Pathly installed, you skip the Option key entirely: right-click any file → Copy Path. Pathly also gives you four additional formats (filename, directory, file URL, and git-relative path) that macOS doesn't provide natively.
How do I copy a folder path in Finder?
In Finder, hold Option and right-click a folder, then choose "Copy [folder name] as Pathname" to get the full folder path.
With Pathly you have two options: Copy Path gives the full path to the folder itself, and Copy Directory gives the parent directory containing the selected item. Both are available without any modifier key.
Is there a keyboard shortcut to copy a file path on Mac?
macOS doesn't have a dedicated keyboard shortcut for copying file paths. The quickest native method is Option + right-click in Finder. You can also use ⌘ + C after selecting a file, but that copies the file itself — not its path.
Pathly puts all five path formats in the standard right-click menu, so the shortcut is simply: right-click → choose format. No modifier key needed.
What is a git-relative path, and how do I get it on Mac?
A git-relative path is the path to a file relative to the root of your Git repository. For example, if your repo is at /Users/alex/projects/app and you want to reference a file at /Users/alex/projects/app/src/Button.tsx, the git-relative path is src/Button.tsx.
These paths are what you use in git add, commit messages, PR descriptions, and code review comments. Pathly's "Copy Git Path" action detects the nearest .git folder and computes this automatically — right from Finder.
Does Pathly require a subscription?
No. Pathly is a one-time purchase of $4.99 from the Mac App Store. You own it forever — no subscription, no recurring fees, no in-app purchases.
Which macOS versions does Pathly support?
Pathly requires macOS 13 Ventura or later. It is fully compatible with macOS 13 Ventura, macOS 14 Sonoma, and macOS 15 Sequoia, and will support future macOS versions.
Can I copy paths from external drives and network folders?
Yes. Pathly works with any location visible in Finder — external USB drives, SD cards, NAS volumes, SMB and AFP network shares. If the file or folder appears in Finder, Pathly can copy its path.
Does Pathly collect any data or phone home?
No. Pathly is a local Finder Extension that runs entirely on your Mac. It never connects to the internet, never collects data, and never transmits any information about your files or paths. Your filesystem is completely private.
How do I enable Pathly after installing it?
After installing from the Mac App Store, go to System Settings → Privacy & Security → Extensions → Finder Extensions and enable Pathly. Then restart Finder (or log out and back in) and right-click any file to see the new copy options.
Can I choose which copy options show in the right-click menu?
Yes. Open the Pathly app and use the toggle switches to enable or disable any of the five actions: Copy Path, Copy Filename, Copy Directory, Copy as URL, and Copy Git Path. Only the enabled actions appear in Finder's context menu.
Speaks your language
Pathly is fully localized in 34 languages — so the menu feels native wherever you are.
Stop wasting time on paths.
Start shipping faster.
One-time purchase. No subscription. Made for real Mac power users.